package com.collect.tanzania.zhiAdater.zhiLevelDetail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.tanzania.R;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRCollecterPerformanceEntity;

public class ZHILevelDetailCollectGrouperB2 extends BaseQuickAdapter<ZHIRCollecterPerformanceEntity, BaseViewHolder> {

    public ZHILevelDetailCollectGrouperB2() {
        super(R.layout.item_level_detail_column_5, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRCollecterPerformanceEntity item) {
//        helper.setText(R.id.tv_col_0, item.getDate());
//        helper.setText(R.id.tv_col_1, item.getSysLoginName());
//        helper.setText(R.id.tv_col_2, item.getAssignAmountFormat());
//        helper.setText(R.id.tv_col_3, item.getTaskAmountFormat());
//        helper.setText(R.id.tv_col_4, item.getRepayAmountFormat());

//        helper.setText(R.id.tv_col_0, item.getDate());
//        helper.setText(R.id.tv_col_1, item.getSysLoginName());
//        helper.setText(R.id.tv_col_2, item.getAssignNumFormatInt()+"");
//        helper.setText(R.id.tv_col_3, item.getTaskNumFormatInt()+"");
//        helper.setText(R.id.tv_col_4, item.getRepayNumFormatInt()+"");

        helper.setText(R.id.tv_col_0, item.getDate());
        helper.setText(R.id.tv_col_1, item.getSysLoginName());
        helper.setText(R.id.tv_col_2, item.getAssignAmountFormat());
        helper.setText(R.id.tv_col_3, item.getTaskAmountFormat());
        helper.setText(R.id.tv_col_4, item.getRepayAmountFormat());
    }
}
